#!/bin/bash
# Copyright (C) 2024-2025 KoudaiPC Computer Technologies Co., Ltd.
# script name: yandi-host-download-bootstrap-pkgs.sh
# author: david921518@qq.com

function download_debs()
{
  local real_path=$(realpath $0)
  local work_dir=$(dirname $real_path)
  local bs_dir=$work_dir/../bootstrap
  local pre_dir=$bs_dir/preinstall
  local dl_file=$pre_dir/host-download.sh
  local bs_file=$pre_dir/bootstrap_debs.txt

  $dl_file "$bs_file"
}

# 1. Make work dir
download_debs

